<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<meta name="google-site-verification" content="nG1IPwcKwRugEZgH1OWMVPsySpc3JeDTKViNBYkFuxU" />
    <link rel="stylesheet" href="/static/css/custom-theme-0/jquery-ui-1.8.11.custom.css" />
    <link rel="stylesheet" href="/static/impact.css" />
    <style>
    {% block style %}{% endblock %}
    </style>
    <title>{% block title %}TITLE{% endblock %}</title>
    <script src="/static/js/json2.js" type="text/javascript"></script>
    <script src="/static/js/jquery-1.6.1.js" type="text/javascript"></script>
    <script src="/static/js/jquery-ui-1.8.11.custom.min.js" type="text/javascript"></script>
    <script src="/static/js/jquery.cookie.js" type="text/javascript"></script>
    <script src="/static/js/jquery.field.js" type="text/javascript"></script>
    <script src="/static/js/raphael-1.5.2.js" type="text/javascript"></script>
    <script src="/static/js/raphael-world.js" type="text/javascript"></script>
    <!--<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>-->
    <script src="/static/impact.js" type="text/javascript"></script>
    <script src="/static/dashboard.js" type="text/javascript"></script>
    <script src="/static/widgets.js" type="text/javascript"></script>
    <script src="/static/connections.js" type="text/javascript"></script>
    <script type="text/javascript">
      $(document).ready(function()
      {
    	 {% block document_ready %}{% endblock %}
      })
      {% block script %}{% endblock %}
      
    </script>
    
	<!--script type="text/javascript" src="http://fast.fonts.com/jsapi/cff396fe-90fe-475a-a4d7-4ab274c74770.js"></script-->
    
</head>
<body>
  <div id="persistent0">
  	
    <div class='wrap'>
      <div class='logo'>IMPACT DASHBOARD</div>
      <div class='user-info'>
  		<div class='dropdown'>
		{% block signup %}   
        	{% if logged_in %}
          		{% if uctx.is_trial_user %}
          			<form>
          				Currently In Trial.({{ uctx.user.email }}) &nbsp; | &nbsp; Login to Preserve Your Dashboard &ndash; 
          				{% for login in logins %}
            				&nbsp; <a href="{{ login.url }}"><strong>{{ login.title }}</strong></a> 
          				{% endfor %}
          			</form>
          		{% else %}
	          		Signed in as <strong>{{ uctx.user.email }}</strong>
	          		&nbsp; <span style="color: #666;">|</span> &nbsp; <a href="{{ logout }}">Logout</a>
	          		<!--count={{ uctx.profile.count }}</p>-->
	          		 
          		{% endif %}
        	{% else %}
          		<form>
          			Log in with &ndash; 
          			{% for login in logins %}
            			&nbsp; <a href="{{ login.url }}"><strong>{{ login.title }}</strong></a> 
          			{% endfor %}
          		</form>

      		{% endif %}
     	{% endblock %}
  		
  		
  		</div>
  	</div>
      
      
     
      <br clear='all'/>
      <!--div style="float:right;"><input type='text' id='dashboard-search'/></div-->
      <script>$('#dashboard-search').keypress(function(event) 
    {
	   if (event.which == '13') 
	   {
	     event.preventDefault();
	     location.href = '/search?q='+$('#dashboard-search').val()
	   }
	   
	});</script>
    </div>
    </div>
  </div>
  
  {% block subnav %}{% endblock %}

    <div id="content">
  <div class="wrap">
        {% block content %}{% endblock %}
    </div>
  </div>
   
   
   <div id="dialog-confirm" title="Dialog Confirm">
        <div id="dialog-confirm-message"><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</div>
   </div>
    
   <div id="dialog-input" title="Dialog Input">
        <div id="dialog-input-message"><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</div>
        <div>
        <input id="dialog-input-field" type="text" />
        <div id="dialog-input-extra-fields"></div>
        </div>
   </div>

</body>
</html>